@import './variables.scss';
@import './mixin.scss';
@import './transition.scss';
@import './element-ui.scss';
@import './sidebar.scss';

body {
  height: 100%;
  -moz-osx-font-smoothing: grayscale;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  font-family: Helvetica Neue, Helvetica, PingFang SC, Hiragino Sans GB, Microsoft YaHei, Arial, sans-serif;
  margin: 0;
  padding: 0;
  height: 100%;
  /*font-family: Helvetica Neue,Helvetica,PingFang SC,Hiragino Sans GB,Microsoft YaHei,SimSun,sans-serif;*/
  //font-family: "SF Pro SC", "SF Pro Text", "SF Pro Icons", "PingFang SC", "Helvetica Neue", "Helvetica", "Arial", sans-serif;
  /* font-weight: 400;
  font-size: 16px;
  color: #888; */
  -webkit-font-smoothing: antialiased;
  overflow: hidden;
  display: block;
  /*background-color: #e8ebed;*/
 
}

label {
  font-weight: 700;
}

html {
  height: 100%;
  box-sizing: border-box;
}

#app {
  height: 100%;
}

*,
*:before,
*:after {
  box-sizing: inherit;
}

a,
a:focus,
a:hover {
  cursor: pointer;
  color: inherit;
  outline: none;
  text-decoration: none;
}

div:focus {
  outline: none;
}

a:focus,
a:active {
  outline: none;
}

a,
a:focus,
a:hover {
  cursor: pointer;
  color: inherit;
  text-decoration: none;
}

.clearfix {
  &:after {
    visibility: hidden;
    display: block;
    font-size: 0;
    content: " ";
    clear: both;
    height: 0;
  }
}

//main-container全局样式
.app-main {
  min-height: 100%
}

.app-container {
  padding: 20px;
}



.map-coordinate {
  font-family: Helvetica Neue, Helvetica, PingFang SC, Hiragino Sans GB, Microsoft YaHei, Arial, sans-serif;
  width: 218px;
  position: absolute;
  z-index: 999;
  left: 120px;
  bottom: 10px;
  font-size: 13px;
  height: 22px;
  line-height: 22px;
  background-color: rgba(255, 255, 255, 0.6);
  border: 1px solid #dcdfe6;
  border-radius: 2px;
}

.coordinate-lng {
  position: absolute;
  left: 0;
  top: 0;
  right: 109px;
  bottom: 0;
  height: 22px;
}

.coordinate-lat {
  position: absolute;
  left: 109px;
  top: 0;
  right: 0;
  bottom: 0;
  height: 22px;
}


/**测量样式*/
.mapboxgl-popup-content {
  padding: 0;
}

.measurePopup{
  border:solid 1px #ccc;
  padding: 3px 7px 3px 2px;
}

.measurePopup span{
  height: 12px;
  vertical-align: center;
  display: inline-block;
  white-space: nowrap;
  margin-left: 5px;
}

.measurePopupSum{
  border: solid 1px #FF0103;
  padding: 3px 7px 3px 2px;
}

.measurePopupSum span{
  height: 12px;
  vertical-align: center;
  display: inline-block;
  white-space: nowrap;
  margin-left: 5px;
  color: #FF0103;
}

/*隐藏标绘控件的删除按钮*/
.mapbox-gl-draw_ctrl-draw-btn{
  display: none !important;
}
